Use lower case days in rds_instance's "preferred_maintenance_window" parameter docs #310
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
The current docs explicitly list the days with capitals (
Mon, Tue
) etc. This works, but AWS then stores this as lowercase, causing idempotency issues the next time the task is run as the string value is different.ISSUE TYPE
COMPONENT NAME
rds_instance
ADDITIONAL INFORMATION
The integration test actually do use the all lowercase format:
https://github.com/ansible-collections/community.aws/blob/main/tests/integration/targets/rds_instance/tasks/test_modification.yml#L152
NOTE: it looks as if other modules have a similar documentation issue, but I didn't confirm this:
https://github.com/ansible-collections/community.aws/blob/main/plugins/modules/rds.py#L137
https://github.com/ansible-collections/community.aws/blob/main/plugins/modules/redshift.py#L103